// katex fix
.katex {
  direction: ltr;

  /* stylelint-disable-next-line selector-class-pattern */
  .cjk_fallback {
    font-size: 0.83em;
  }
}

.katex-display {
  overflow: auto hidden;

  padding-top: 0.2em;
  padding-bottom: 0.2em;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;

  &::-webkit-scrollbar {
    height: 3px;
  }
}

.katex-error {
  color: #f00;
}
